﻿<%@ Page Title="" Language="C#" MasterPageFile="~/adminaq/Adminpage.Master" AutoEventWireup="true"
    CodeBehind="AQListProject.aspx.cs" Inherits="ToolwebAQ.adminaq.AQListProject" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.11.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.11.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script>
        $(document).ready(function () {

            // hide #back-top first
            $("#back-top").hide();

            // fade in #back-top
            $(function () {
                $(window).scroll(function () {
                    if ($(this).scrollTop() > 100) {
                        $('#back-top').fadeIn();
                    } else {
                        $('#back-top').fadeOut();
                    }

                });
                $('#back-top a').click(function () {
                    $('body,html').animate({
                        scrollTop: 0
                    }, 800);
                    return false;
                });
            });

        });
    </script>
    <div class="content-box">
        <div class="box-header clear">
            <thead>
                <tr>
                    <th>
                        <ul>
                            <li style="float: left">
                                <h2>
                                    <strong>DANH SÁCH DỰ ÁN <span runat="server"></span></strong>&nbsp;
                                </h2>
                            </li>
                            <li style="float: right; margin: 0px 3px"><strong>QUÁ HẠN</strong></li>
                            <li style="float: right">
                                <p style="background: #FF0000; width: 20px; float: left; margin: 0px 3px">
                            </li>
                            <li style="float: right; margin: 0px 3px"><strong>TRỄ</strong></li>
                            <li style="float: right; margin: 0px 3px">| </li>
                            <li style="float: right">
                                <p style="background: #FFFF55; width: 20px; float: left; margin: 0px 3px">
                            </li>
                            <li style="float: right; margin: 0px 3px"><strong>CÒN THỜI GIAN</strong></li>
                            <li style="float: right; margin: 0px 3px">| </li>
                            <li style="float: right">
                                <p style="background: #00B050; width: 20px; float: left; margin: 0px 3px">
                            </li>
                            <li style="float: right"><strong>TRẠNG THÁI DỰ ÁN</strong><span style="color: blue"
                                runat="server"></span> &nbsp; </li>
                            &nbsp;&nbsp;
                        </ul>
                    </th>
                    <th>
                    </th>
                </tr>
            </thead>
        </div>
        <div class="box-body clear">
            <table>
                <tr>
                    <td>
                        <asp:Literal ID="ltrProjectMame" runat="server">Tên dự án:</asp:Literal>
                    </td>
                    <td width="170px">
                        <dx:ASPxTextBox ID="txtProjectName" runat="server" Width="170px" class="text fl">
                        </dx:ASPxTextBox>
                    </td>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <td>
                        <asp:Literal ID="ltrPostName" runat="server">Người tạo:</asp:Literal>
                    </td>
                    <td width="170px">
                        <dx:ASPxTextBox ID="txtPostName" runat="server" Width="170px" class="text fl">
                        </dx:ASPxTextBox>
                    </td>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <td>
                        <asp:Literal ID="ltrDateCreat" runat="server">Ngày tạo:</asp:Literal>
                    </td>
                    <td width="170px">
                        <dx:ASPxDateEdit ID="ASPxDateEdit1" runat="server" Width="170px" Height="4px">
                        </dx:ASPxDateEdit>
                    </td>
                </tr>
                <tr>
                    <td>
                        Tình trạng:
                    </td>
                    <td width="170">
                        <asp:DropDownList ID="ddlStatus" runat="server" class="fl-space">
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
        </div>
        <asp:Button ID="btload" runat="server" Text="Call Event" Style="position: absolute;
            left: -9999px" />
        <div id="data-table">
            <div class="box-body clear">
                <div style="overflow: auto">
                    <dx:ASPxGridView ID="gvListProject" runat="server" ClientInstanceName="gvListProject"
                        Width="100%">
                        <Columns>
                            <dx:GridViewDataTextColumn Caption="STT" />
                            <dx:GridViewDataTextColumn Caption="TÊN DỰ ÁN" />
                            <dx:GridViewDataTextColumn Caption="KHÁCH HÀNG" />
                            <dx:GridViewDataTextColumn Caption="C.S" />
                            <dx:GridViewDataTextColumn Caption="DESIGNER" />
                            <dx:GridViewDataDateColumn Caption="THỜI GIAN BẮT ĐẦU" />
                            <dx:GridViewDataDateColumn Caption="THỜI GIAN KẾT THÚC" />
                        </Columns>
                        <SettingsPager PageSize="10" />
                    </dx:ASPxGridView>
                </div>
            </div>
        </div>
    </div>
    <p id="back-top">
        <a href="#top"><span></span>Back to Top</a>
    </p>
</asp:Content>
